﻿using System;
using System.Collections.Generic;
using System.Text;
using StockTrader.BusinessService.DataContract.HnxInfo;

namespace StockTrader.DAL.IDAL.HnxInfo
{
    public interface IHnxOrders
    {
        void Open(string connString);
        void Close();

        List<HnxOrdersData> getHnxNewOrders(decimal timeStamp);
        List<HnxOrdersData> getHnxAllOrders();
        List<HnxOrdersData> countHnxOrders();
        void deleteHnxOrders();
        void insertHnxNewOrder(HnxOrdersData order);
        List<HnxOrdersData> getLastHnxOrder(long timeStamp);

         List<HnxOrdersData> getHnxPlaceOrder();
         List<HnxOrdersData> getHnxDeals();
         List<HnxOrdersData> getHnxChangeOrders();
         List<HnxOrdersData> getHnxCancelOrders();
    }
}
